<?php
$site_path = realpath(dirname(__FILE__));
define('__SITE_PATH', $site_path);
require_once 'model/questions.php';

$question = Questions::findAll();
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
<?php
foreach ($question as $_question) {
    echo "Title : {$_question["title"]}<br>";
    echo "Content : {$_question["content"]}<br>";
}
?>
    </body>
</html>